import type { EnterpriseListData, EnterpriseListParams } from "@/types/enterprise";
import { Http } from "@/utils/reuqest";


/**
 * 获取企业列表
 * **/


export const getEnterPriseListAPI = (params: EnterpriseListParams) => Http.get<EnterpriseListData>("/park/enterprise", params)


// 上传接口 

import type { FileResult } from "@/types/common";

export const uploadFileAPI = (data: FormData) => Http.post<FileResult>("/upload", data)